﻿<Page
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:Console="clr-namespace:MindFactorial.LaunchPoint.Console"
	xmlns:ConsoleLib="clr-namespace:MindFactorial.LaunchPoint.Console.Library"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
    x:Class="MindFactorial.LaunchPoint.Console.ConsoleShell"
    xmlns:properties="clr-namespace:MindFactorial.LaunchPoint.Console.Properties"
    Title="MindFactorial.LaunchPoint.Console" 
    >
    <Page.Resources>
        <ResourceDictionary Source="../../Images.xaml">

        </ResourceDictionary>
    </Page.Resources>
    <Grid>

        <Grid Width="Auto" Height="Auto" x:Name="layoutRoot" >
            <Grid.RowDefinitions>
                <RowDefinition Height="22"  />
                <RowDefinition Height="40"  />
                <RowDefinition Height="*"/>
            </Grid.RowDefinitions>

            <!-- Background image for entire page -->
            <Image 
                    Margin="0,0,0,0" 
                    Grid.Row="0"
                    Grid.RowSpan="3"
                    x:Name="imgBackgroundGradient" 
                    Source="{StaticResource backgroundGradient}" Stretch="Fill"/>

            <!-- Top Level Menu -->
            <Border   Grid.Row="0" Background="White" BorderThickness="0,0,0,1" BorderBrush="#FF346DBE" Padding="0,0,0,1"   >
                <Border Background="DarkBlue">
                    <Menu x:Name="_menuMain" Background="Transparent"   HorizontalAlignment="Stretch" Margin="10,0,8,0" VerticalAlignment="Top" Width="Auto" >
                        <MenuItem Width="Auto" Height="20" Foreground="GhostWhite" FontFamily="Verdana" FontWeight="Normal" Header="{x:Static properties:Resources.mnuFile}" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Tag="File" />
                        <MenuItem Width="Auto" Height="20" Foreground="GhostWhite" FontFamily="Verdana" FontWeight="Normal" Header="{x:Static properties:Resources.mnuEdit}" Margin="0,1,0,1" Tag="Edit"/>
                        <MenuItem Width="Auto" Height="20" Foreground="GhostWhite" FontFamily="Verdana" FontWeight="Normal" Header="{x:Static properties:Resources.mnuView}" Margin="0,1,0,1" Tag="View"/>
                        <MenuItem Width="Auto" Height="20" Foreground="GhostWhite" FontFamily="Verdana" FontWeight="Normal" Header="{x:Static properties:Resources.mnuActions}"	Margin="0,1,0,1" Tag="Actions"/>
                        <MenuItem Width="Auto" Height="20" Foreground="GhostWhite" FontFamily="Verdana" FontWeight="Normal" Header="{x:Static properties:Resources.mnuOptions}" Tag="Options"/>
                        <MenuItem Width="Auto" Height="20" Foreground="GhostWhite" FontFamily="Verdana" FontWeight="Normal" Header="{x:Static properties:Resources.mnuHelp}" Tag="Help">                                                       
                        </MenuItem>
                    </Menu>
                </Border>
            </Border>

            <!-- Top Command Bar-->
            <Border Grid.Row="1" Background="Transparent" CornerRadius="5" >
                <Console:ToolbarPanel x:Name="_surfaceToolbarPanel" Margin="10,0,8,0"   />
            </Border>


            <Grid  x:Name="gridLowerConsoelArea" Grid.Row="2">

                <Image Opacity="0.75"
                      Margin="0,0,0,0"
                      x:Name="imgFooterBar"
                      VerticalAlignment="Bottom"
                      Height="15" Source="{StaticResource footerBar}" Stretch="UniformToFill" />



                <Image Margin="0,0,0,0" x:Name="imgGlobeImage" Source="{StaticResource GlobeImage}" Stretch="None" StretchDirection="Both" HorizontalAlignment="Center" VerticalAlignment="Bottom"/>
                <Image Opacity="0.75" Margin="0,0,0,129" x:Name="imgWhiteStripes" VerticalAlignment="Bottom" Height="117" Source="{StaticResource whiteStripes}" Stretch="Fill"/>
                <Image HorizontalAlignment="Right" Margin="0,0,47,167" x:Name="imgIdea" VerticalAlignment="Bottom" Height="36"  Stretch="None" d:LayoutOverrides="Margin"/>



                <Grid  Visibility="Visible" Margin="10,0,10,20" x:Name="gridLowerAreaControlHostRoot" ShowGridLines="False"    >
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="250" />
                        <ColumnDefinition Width="10"  />
                        <ColumnDefinition Width="*"  />
                    </Grid.ColumnDefinitions>


                    <!-- Control Panel -->
                    <Console:ControlPanel x:Name="_surfaceControlPanel" Grid.Column="0" HorizontalAlignment="Stretch" Width="Auto" Height="Auto" Margin="0,0,0,0" BorderBrush="#FF346DBE" BorderThickness="1,1,1,1" >
                        <!--<Console:ControlPanel.BitmapEffect>
                            <DropShadowBitmapEffect Direction="0" Opacity="1" ShadowDepth="1" Softness="1"/>
                        </Console:ControlPanel.BitmapEffect>-->
                    </Console:ControlPanel>

                    <!-- Content Pane -->
                    <Console:ContentPanel x:Name="_surfaceContentpanel" Grid.Column="2" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="Auto" BorderBrush="#FF346DBE" BorderThickness="1,1,1,1" >
                        <!--<Console:ContentPanel.BitmapEffect>
                            <DropShadowBitmapEffect Direction="180" Opacity="1" ShadowDepth="1" Softness="1"/>
                        </Console:ContentPanel.BitmapEffect>-->
                    </Console:ContentPanel>

                    <!--<GridSplitter HorizontalAlignment="Right" VerticalAlignment="Stretch" Width="2" />-->
                </Grid>

            </Grid>

        </Grid>



    </Grid>

</Page>
